package Vue.Chateau;

import java.awt.Color;
import java.awt.Dimension;
import java.awt.Graphics;
import java.awt.Image;
import javax.swing.JPanel;
import javax.swing.border.LineBorder;

public class ChateauJeuPanelHaut extends JPanel {

	private static final long serialVersionUID = 1L;

	public ChateauJeuPanelHaut() {

		this.setSize(new Dimension(1272, 760));
		this.setBorder(new LineBorder(Color.BLACK,1));
		this.setBackground(Color.BLACK);
		this.validate();

	}

	public void paintComponent(Graphics g) {

		super.paintComponent(g);
		Image image = getToolkit().getImage("./src/Images/Chateaux/Chateau/Batiments/ChateauFond.gif");
		g.drawImage(image, 0, 0, this);

	}
}
